input {
  -webkit-appearance: none /*去除input默认样式*/;
}
header {
  background: url("http://udf.com/uploads/hometop/timg.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
header .header-content {
  text-align: center;
}
header .header-content h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 30px;
}
header .header-content p {
  color: #fff;
  font-size: 18px;
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 30px;
}
header .header-content .overlay-text {
  width: 70%;
  max-width: 320px;
  height: 50px;
  line-height: 50px;
  border: none;
  background: #fff;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  border-radius: 2px 0 0 2px;
  text-align: left;
  padding-left: 1em;
}
header .header-content .overlay-button {
  width: 30%;
  max-width: 150px;
  height: 50px;
  line-height: 50px;
  background-color: #fc5c63;
  border: none;
  border-bottom: 1px solid #c9181b;
  color: #fff;
  text-align: center;
  border-radius: 0 2px 2px 0;
}
#content #buildingTitle,
#content #cityTopic,
#content #buildingMeasure,
#content #hotCity {
  width: 100%;
  padding: 30px 0;
  position: relative;
}
#content #buildingTitle .title-inner,
#content #cityTopic .title-inner,
#content #buildingMeasure .title-inner,
#content #hotCity .title-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
#content #buildingTitle .title-inner .title h1,
#content #cityTopic .title-inner .title h1,
#content #buildingMeasure .title-inner .title h1,
#content #hotCity .title-inner .title h1 {
  position: relative;
  font-size: 24px;
  margin-bottom: 10px;
}
#content #buildingTitle .title-inner .title h1 .weight,
#content #cityTopic .title-inner .title h1 .weight,
#content #buildingMeasure .title-inner .title h1 .weight,
#content #hotCity .title-inner .title h1 .weight {
  font-weight: 700;
  margin-right: 20px;
}
#content #buildingTitle .title-inner .title p,
#content #cityTopic .title-inner .title p,
#content #buildingMeasure .title-inner .title p,
#content #hotCity .title-inner .title p {
  font-size: 14px;
  margin-bottom: 20px;
}
#content #buildingTitle .title-inner .title p a,
#content #cityTopic .title-inner .title p a,
#content #buildingMeasure .title-inner .title p a,
#content #hotCity .title-inner .title p a {
  float: right;
  color: #5aaffe;
  font-size: 16px;
}
#content #buildingTitle {
  background: #fff;
}
#content #cityTopic {
  background: #f3f3f3;
}
#content #buildingMeasure {
  background: #fff;
}
#content #hotCity {
  background: #f3f3f3;
}
#content #hotCity h1 {
  margin-bottom: 0 !important;
}
#content #hotCity h1 .city-hover {
  display: inline-block;
  font-size: 18px;
  padding: 10px;
  cursor: default;
}
#content #hotCity h1 .city-hover:hover {
  color: #ff5a5f;
}
#content #hotCity h1 .city-hover:hover .city {
  display: inline-block;
}
#buildingTitle .item-wrapper {
  width: 100%;
}
#buildingTitle .item-wrapper .link {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: relative;
}
#buildingTitle .item-wrapper .link .desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}
#buildingTitle .item-wrapper .link .desc h2 {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  header {
    height: 560px;
  }
  header .header-content {
    margin-top: 130px;
  }
  header .header-content h1 {
    font-size: 48px;
  }
  header .header-content p {
    font-size: 24px;
  }
  #buildingTitle .item-wrapper {
    width: 100%;
    position: relative;
  }
  #buildingTitle .item-wrapper .item-list {
    position: absolute;
    background-size: cover;
    background-position: center;
  }
  #buildingTitle .item-wrapper .item-list.bgb-pic {
    width: calc(60% - 5px);
    height: 100%;
    top: 0;
    left: 0;
  }
  #buildingTitle .item-wrapper .item-list.second {
    height: calc(50% - 5px);
    width: calc(40% - 5px);
    top: 0;
    right: 0;
  }
  #buildingTitle .item-wrapper .item-list.bgs-pic:last-child {
    height: calc(50% - 5px);
    width: calc(40% - 5px);
    bottom: 0;
    right: 0;
  }
  #cityTopic .item-wrapper,
  #buildingMeasure .item-wrapper {
    width: 100%;
  }
  #cityTopic .item-wrapper .item-list,
  #buildingMeasure .item-wrapper .item-list {
    float: left;
    margin-left: 10px;
  }
  #cityTopic .item-wrapper .item-list p,
  #buildingMeasure .item-wrapper .item-list p {
    color: #2d2d2d;
    font-size: 12px;
    margin-top: 5px;
  }
  #cityTopic .item-wrapper .item-list.first,
  #buildingMeasure .item-wrapper .item-list.first {
    margin-left: 0;
    width: calc(50% - 5px);
    height: 100%;
  }
  #cityTopic .item-wrapper .item-list.first img,
  #buildingMeasure .item-wrapper .item-list.first img {
    width: 100%;
    vertical-align: top;
    height: 90%;
  }
  #cityTopic .item-wrapper .item-list.first p,
  #buildingMeasure .item-wrapper .item-list.first p {
    font-size: 14px;
    margin-top: 10px;
  }
  #cityTopic .item-wrapper .item-list.second,
  #buildingMeasure .item-wrapper .item-list.second,
  #cityTopic .item-wrapper .item-list.third,
  #buildingMeasure .item-wrapper .item-list.third,
  #cityTopic .item-wrapper .item-list.forth,
  #buildingMeasure .item-wrapper .item-list.forth,
  #cityTopic .item-wrapper .item-list.fifth,
  #buildingMeasure .item-wrapper .item-list.fifth {
    width: calc((50% - 5px) / 2 - 5px);
    height: 50%;
  }
  #cityTopic .item-wrapper .item-list.second img,
  #buildingMeasure .item-wrapper .item-list.second img,
  #cityTopic .item-wrapper .item-list.third img,
  #buildingMeasure .item-wrapper .item-list.third img,
  #cityTopic .item-wrapper .item-list.forth img,
  #buildingMeasure .item-wrapper .item-list.forth img,
  #cityTopic .item-wrapper .item-list.fifth img,
  #buildingMeasure .item-wrapper .item-list.fifth img {
    width: 100%;
    height: 80%;
  }
  #hotCity .item-wrapper {
    width: 100%;
    box-sizing: border-box;
  }
  #hotCity .item-wrapper .item-list {
    float: left;
    position: relative;
    background-position: center;
    background-size: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    height: calc(50% - 5px);
  }
  #hotCity .item-wrapper .item-list.small {
    width: calc((50% - 5px) / 2 - 5px);
  }
  #hotCity .item-wrapper .item-list.large {
    width: calc(50% - 5px);
  }
  #hotCity .item-wrapper .item-list.line-last {
    margin-right: 0;
  }
  #hotCity .item-wrapper .item-list span {
    display: inline-block;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 50px 20px 20px 20px;
    box-sizing: border-box;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  }
}
.city.show {
  display: block !important;
}
#hotCity .city {
  position: absolute;
  top: 42px;
}
#hotCity .city .jiantou {
  left: 32%;
}
@media screen and (max-width: 767px) {
  header {
    height: 400px;
    padding-top: 60px;
  }
  header .header-content {
    margin: 50px 0 30px 0;
  }
  header .header-content>p {
    width: 80%;
    padding: 10px 25px;
    box-sizing: border-box;
  }
  header .header-content .overlay-text {
    width: 60%;
  }
  #hotCity .city {
    position: absolute;
    top: 42px;
  }
  #hotCity .city .jiantou {
    left: 50%;
  }
  #hotCity .city .contain a {
    padding: 5px !important;
  }
}
